<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Strelitzia-后台管理系统-发布通知</title>
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <link href="/css/materialdesignicons.min.css" rel="stylesheet">
    <link href="/css/style.min.css" rel="stylesheet">
</head>
<body>
<body>
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--左侧导航-->
        <aside class="lyear-layout-sidebar">

            <!-- logo -->
            <div id="logo" class="sidebar-header">
                <a href="/index"><img src="/images/logo-sidebar.png" title="LightYear" alt="LightYear"/></a>
            </div>
            <div class="lyear-layout-sidebar-scroll">

                <nav class="sidebar-main">
                    <ul class="nav nav-drawer">
                        <li class="nav-item "><a href="/"><i class="mdi mdi-home"></i> 后台首页</a></li>
                        <li class="nav-item"><a href="/account/1"><i class="mdi mdi-account-box"></i>账号管理</a></li>
                        <li class="nav-item"><a href="/dynamic/1"><i class="mdi mdi-share-variant"></i>动态管理</a></li>
                        <li class="nav-item"><a href="/photo"><i class="mdi mdi-image-filter"></i>照片列表</a></li>
                        <li class="nav-item active"><a href="/notification"><i class="mdi mdi-message-text-outline"></i>发布通知</a>
                        </li>

                    </ul>
                </nav>

            </div>

        </aside>
        <!--End 左侧导航-->

        <!--头部信息-->
        <header class="lyear-layout-header">

            <nav class="navbar navbar-default">
                <div class="topbar">

                    <div class="topbar-left">
                        <div class="lyear-aside-toggler">
                            <span class="lyear-toggler-bar"></span>
                            <span class="lyear-toggler-bar"></span>
                            <span class="lyear-toggler-bar"></span>
                        </div>
                        <span class="navbar-page-title"> 发布通知 </span>
                    </div>


                </div>
            </nav>

        </header>
        <!--End 头部信息-->

        <!--页面主要内容-->
        <main class="lyear-layout-content">
            <div class="card">
                <div class="card-body">
                    <form class="form" method="post" action="/notification" role="form">
                       <select name="receiver" class="form-control" size="1" style="width: 200px">
                           <option  value="0">所有人</option>
                           <option th:each="item : ${list}" th:value="${item.id}" th:text="${item.username}">张山</option>
                       </select>

                        <textarea class="form-control" rows="5" name="content" placeholder="请输入内容..." style="margin-top: 20px"></textarea>
                        <button type="submit" class=" btn btn-primary" style="margin-top: 20px;width: 80px">
                            发布
                        </button>

                    </form>

                </div>
            </div>


        </main>
        <!--End 页面主要内容-->
    </div>
</div>

<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
</body>

</body>
</html>